package com.chang.bean;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @program: erp-api
 * @description:
 * @author: chang
 * @create: 2025-02-26 15h
 **/
@Data
@ApiModel("字典")
public class Dict {
    int id;

    @NotBlank(message = "编码不能为空")
    String code;

    @NotBlank(message = "name不能为空")
    String name;

    int pid;

    int sorts;
}
